@extends('adminApp')

@section('otherResource')
    <style>
        .activity-detail{
            font-size: 1.2em;
        }

        .updateBtn{
            margin-top:2em;
        }
    </style>
@endsection


@section('rightPanel')
    <div class="row">
        <h1 class="page-header">活动查看</h1>
    </div>

    <div class="row col-md-9">
        <h3 class="activity-title ">{{$activity['title']}}</h3>
        <hr/>
        <p class="activity-detail">{!! nl2br($activity['description']) !!}</p>
    </div>

    <br/>
    <br/>
    <br/>
    <div class=" row form-group">
        <div class="col-md-offset-7 col-md-2 ">
            <button  class="updateBtn btn btn-primary btn-lg  btn-block" onclick="document.location='/admin/activityManagement/update/{{$activity['id']}}';">修改</button>
        </div>
    </div>
@endsection

@section('otherJs')
@endsection